﻿@{
    ViewBag.Title = "" + FOResource.UI.Layout.lblInternetBanking + "";
    ViewBag.Description = "VnBankNet giúp bạn tìm ra dịch vụ internet banking tốt nhất.";
    var InternetBanking = (List<FOModels.InternetBanking.InternetBankingModels>)ViewBag.InternetBanking;
    var ProDes = (FOModels.Product.ProductModels)ViewBag.ProDes;
    Layout = "~/Views/Shared/_Layout.cshtml";
    
}

<hr style="background: #bebebe; margin-left: 10px; margin-right: 10px;" />
<div class="container">
    <div id="credit-card-list">
        @if (InternetBanking.Count > 0)
        {
            foreach (var cre in InternetBanking)
            {
            <div class="product-item">
                <p class="bank-title">
                    <a title="@FOResource.UI.Layout.viewprobyprovider - @cre.CompanyName" href="@Url.Action("InternetBankingsByProvider", "InternetBanking", new { CompanyName = FO.Models.Conver.ConvertToUnSign(cre.CompanyName).ToLower(), CompanyID = cre.CompanyID })">@cre.CompanyName</a>
                    @cre.InternetBankingName
                </p>
                <a title="@FOResource.UI.Layout.viewdetail" href="@Url.Action("Detail", "InternetBanking", new { CompanyName = FO.Models.Conver.ConvertToUnSign(cre.CompanyName).ToLower(), InternetBankingName = FO.Models.Conver.ConvertToUnSign(cre.InternetBankingName).ToLower(), InternetBankingID = cre.InternetBankingID })">
                    <img alt="@cre.CompanyName" class="product-item-bank-img border-img" src="@Url.Content("http://vnbanknet.com/Content/UpLoad/Images/" + @cre.CompanyImg + "")" /></a>
                <ul class="ul-info">
                    @if (cre.Cost > 0)
                    {
                        <li><strong>@FOResource.UI.CpanelLayout.costperyear:</strong> @String.Format("{0:0,0}", cre.Cost) VND</li>
                    }
                    else
                    {
                        <li><strong>@FOResource.UI.CpanelLayout.costperyear:</strong> 0 VND</li>
                    }
                    <li><strong>@FOResource.UI.Product.Deposit.interest:</strong> @cre.Interest.ToString().Replace(".", "" + FOResource.UI.Layout.currency1 + "") %</li>
                    <li><a class="btn-detail" href="tel:0915880238" data-role="button" data-corners="false" data-mini="true" data-inline="true" data-icon="phone" data-theme="b">@FOResource.UI.Layout.contact</a><li>
                </ul>
                <div style="clear: both;"></div>

                <h4 class="title">@FOResource.UI.Product.Card.lblbenefit</h4>
                <div class="item-list">
                    @Html.Raw(cre.BenefitContent)
                </div>

                <h4 class="title">@FOResource.UI.Product.Card.lblfeatures</h4>
                <div class="item-list">
                    @Html.Raw(cre.FurtureContent)
                </div>
                <a href="@Url.Action("InternetBankingInfo", "InternetBanking", new { InternetBankingID = cre.InternetBankingID })" data-mini="true" data-corners="false" data-theme="b" data-icon="arrow-r" data-iconpos="right" data-role="button">@FOResource.UI.Product.Card.lblapply1</a>
            </div>
            <div style="clear: both;"></div>
            <hr style="background: #bebebe;" />
            }
        }
    </div>
    <div class="bot-main">
        <div class="bottom_tabbed">
            <div class="bottom_center">

                @Html.Raw(ProDes.Description)
            </div>
            <div style="clear: both;"></div>


        </div>

        <div style="clear: both;"></div>
    </div>
</div>
